{
    "format_version": "1.21.30",
    "minecraft:entity": {
        "description": {
            "identifier": "runeforge:locate_village",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false
        },
        "component_groups": {
            "cg:despawn": {
                "minecraft:instant_despawn": {
                    "remove_child_entities": false
                }
            }
        },
        "components": {
            "minecraft:breathable": {
                "breathes_water": true,
                "breathes_air": true,
                "breathes_lava": true,
                "breathes_solids": true
            },
            "minecraft:custom_hit_test": {
                "hitboxes": [
                    {
                        "pivot": [
                            0,
                            100,
                            0
                        ],
                        "width": 0,
                        "height": 0
                    }
                ]
            },
            "minecraft:damage_sensor": {
                "triggers": {
                    "deals_damage": false
                }
            },
            "minecraft:pushable": {
                "is_pushable": false,
                "is_pushable_by_piston": false
            },
            "minecraft:collision_box": {
                "width": 1,
                "height": 1
            }
        },
        "events": {
            "minecraft:entity_spawned": {
                "sequence": [
                    {
                        "queue_command": {
                            "command": "function locator/locate_village"
                        }
                    },
                    {
                        "add": {
                            "component_groups": [
                                "cg:despawn"
                            ]
                        }
                    }
                ]
            }
        }
    }
}